package com.bestcem.xm.om.entity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * (UserMmodule)实体类
 *
 * @author makejava
 * @since 2022-04-02 17:32:19
 */
@Getter
@Setter
@NoArgsConstructor
@ToString
public class UserMmodule {
    /**
     * 实体标识
     */
    private String id;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 模块编号
     */
    private String code;

    /**
     * 模块名称
     */
    private String name;

    /**
     * 模块分类
     * @see com.bestcem.xm.om.enums.PackageCategoryEnum
     */
    private Integer category;

    private Integer deleted;

    /**
     * 层级
     */
    private Integer level;

    public UserMmodule(String code, String name, Integer category, Integer level) {
        this.code = code;
        this.name = name;
        this.category = category;
        this.level = level;
    }
}

